#include "logstream.h"

using namespace tiny_muduo;

inline void FixedBuffer::CookieStart() {}
inline void FixedBuffer::CookieEnd() {}

FixedBuffer::FixedBuffer(): cur_(buf_){
    SetCookie(CookieStart);
}

FixedBuffer::~FixedBuffer(){
    SetCookie(CookieEnd);
}